<div id="tv">
<%=javascript_include_tag "prototype"%>	
<SCRIPT LANGUAGE="VBScript">
on error resume next
If Prototype.Browser.IE Then
  javaws150Installed = (IsObject(CreateObject("JavaWebStart.isInstalled.1.5.0.0")))
  javaws160Installed = (IsObject(CreateObject("JavaWebStart.isInstalled.1.6.0.0")))
End If
</SCRIPT> 
<%=javascript_include_tag "check_jre"%>	
<SCRIPT LANGUAGE="Javascript">
function nojwsnodirect()
{
	if(!javawsInstalled)
	{
		alert("To join the swarm, you have to install the newest Java WebStart!\n After you install it, refresh or restart your browser to continue.");
		window.open("http://jdl.sun.com/webapps/getjava/BrowserRedirect?host=www.java.com:80");
	}
	return javawsInstalled;
}
</SCRIPT> 
	<% @result_swarm.each do |swarm| %>
	<%= link_to (image_tag "/images/kerjodando_pic/"+swarm.pic_url ,:size=>"90x90"),{:controller => "webgui",:action=>"index",:server => (request.protocol << request.host_with_port)+"/"+swarm.url},:onclick=>"return nojwsnodirect();" %>
	<%end%>
	</div>
	<div id="index_right2">
	<!--
		<table width='100%' height='100%' CELLSPACING=0 CELLPADDING=0><tr>
		<td width=40px>&nbsp;</td><td style="text-align:left;VERTICAL-ALIGN:bottom"> <a href="https://www.thawte.com/ssl-digital-certificates/code-signing/index.html?click=main-nav-products-codesigning">
		<img height=100 style="VERTICAL-ALIGN: middle" alt="Thawte" src=/images/poweredThawte_secure.jpg></img></a><br>Code signed.<br>Security guaranteed.</td></tr></table>
		-->
	</div>

</td></tr>
<!-- out table -->
<tr style="background-repeat: repeat-y;background-image: url(/images/module_left_bg.jpg);background-position:top left;"><td valign="top" style="background-repeat: repeat-y;background-image: url(/images/module_right_bg.jpg);background-position:top right;">
<table CELLSPACING=0 CELLPADDING=0 width='100%' valign="top" style="background-repeat: no-repeat;background-image: url(/images/index_right3.jpg);background-position:top right;">
	<tr><td colspan=4>&nbsp;</td></tr>
	<tr><td rowspan=2 width=18px></td><td colspan=3><font size=4><b>Get started</b></td></tr>
	<tr><td style="width:30%" valign="top">
	<img height=136px src=/images/step1.jpg></img><br>
	<span style="font-weight: bold; font-size: 130%;">
	1.</span>CLICK on a TV picture to reach SEARCH page
	</td>
	<td  style="width:31%" valign="top">
	<img height=136px src=/images/step2.jpg></img><br>
	<span style="font-weight: bold; font-size: 130%;">2.</span>DOWNLOAD and install JAVA application.
	</td>